﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MakeIT_Bill_Maker
{
    public partial class showAppartment : Form
    {
        public showAppartment()
        {
            InitializeComponent();
        }

        private void showAppartment_Load(object sender, EventArgs e)
        {
            string sql = "SELECT * FROM Users";
            Database.DatabaseConnection db = new Database.DatabaseConnection();
            DataSet ds = db.Show(sql);
            grdUsers.DataSource = ds.Tables[0];
        }
    }
}
